Skip to content

refactor: switch to ConnectionManager for RedisStore#130

Open
ruslanti wants to merge 1 commit intomainfrom
fix/cache-api-kvrocks-broken-pipe-error
Open

refactor: switch to ConnectionManager for RedisStore#130
ruslanti wants to merge 1 commit intomainfrom
fix/cache-api-kvrocks-broken-pipe-error

Conversation

@ruslanti
Copy link
Copy Markdown
Collaborator

@ruslanti ruslanti commented May 8, 2026

  • Replaced MultiplexedConnection with ConnectionManager to improve connection handling.
  • Enhanced resilience with transparent reconnections and exponential backoff on failures.

- Replaced `MultiplexedConnection` with `ConnectionManager` to improve connection handling.
- Enhanced resilience with transparent reconnections and exponential backoff on failures.
Copilot AI review requested due to automatic review settings May 8, 2026 16:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Redis-backed RedisStore to use redis::aio::ConnectionManager instead of MultiplexedConnection, aiming to improve connection resilience via automatic reconnection behavior.

Changes:

  • Switched RedisStore’s internal connection type from MultiplexedConnection to ConnectionManager.
  • Updated RedisStore::open to construct a redis::Client and initialize a ConnectionManager.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants